package com.example.demo.service;

import java.util.List;

import com.example.demo.domain.RepairProcess;

/**
 * @author w
 */
public interface RepairProcessService {

    List<RepairProcess> getAll();

    List<RepairProcess> getTrainId(String trainId);

    List<RepairProcess> getYear(String year);

    RepairProcess add(RepairProcess repairProcess);

    RepairProcess update(Integer id,RepairProcess repairProcess);

    String destory(String trainId);
}